package com.priox.sigar.application.mappers;

import com.priox.sigar.client.dto.ClienteDTO;

import com.googlecode.ehcache.annotations.Cacheable;
import com.priox.sigar.client.flt.ClienteFlt;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Johann
 * Date: 28/08/13
 * Time: 11:38 PM
 * To change this template use File | Settings | File Templates.
 */
public interface ClienteMapper {

    public List<ClienteDTO> findAll();



    ClienteDTO findByClienteId(String clienteId);


    List<ClienteDTO> findByFilter(ClienteFlt filtroBusqueda);

    List<ClienteDTO> findByFilterDesc(ClienteFlt filtroBusqueda);

    Integer existeCuentaId(String clienteId);

    void deleteAll();
    void deleteSociedadByCliente(String clienteId);

    void executeUpdateClienteSociedad();
}
